﻿using DotNetCore.MyBlogApi.Core.CoreServiceImp;
using DotNetCore.MyBlogApi.Data.Models;
using DotNetCore.MyBlogApi.Services.IServices.SysManage;
using System;
using System.Collections.Generic;
using System.Text;
using DotNetCore.MyBlogApi.Data;

namespace DotNetCore.MyBlogApi.Services.ServicesImp.SysManage
{
    public class ArticleManage : Repository<Article>, IArticleManage
    {
        public ArticleManage(ApplicationSqlServerContext Context) : base(Context)
        {
        }
        public Article GetArticleById(Guid id)
        {
            return base.Get(o => o.ArticleId == id);
        }
    }
}
